package com.avalonsql.core.db.drivers;

import com.avalonsql.core.configs.DriverDefinitionConfig;
import com.avalonsql.core.db.objects.api.IRootObject;
import com.avalonsql.core.db.objects.impl.Schema;

public class HSQLDBDriver extends DBDriver {

    public static final String NAME = "HSQLDB";

    public HSQLDBDriver(DriverDefinitionConfig driverDefinitionConfig, boolean loadDrivers) throws DBDriverInstatiationException {
        super(driverDefinitionConfig, loadDrivers);
    }

    public HSQLDBDriver(DriverDefinitionConfig driverDefinitionConfig) throws DBDriverInstatiationException {
        super(driverDefinitionConfig);
    }

    @Override
    public String getName() {
        return NAME;
    }

    @Override
    public Class<? extends IRootObject> getRootObjectClass() {
        return Schema.class;
    }

}
